package alipay.openplatform.edu.campus.jiuye.dao.mappers.activity;


import alipay.openplatform.edu.campus.jiuye.model.po.BllGoodVoiceNotePO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BllGoodVoiceNoteMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(BllGoodVoiceNotePO record);

    int insertSelective(BllGoodVoiceNotePO record);

    BllGoodVoiceNotePO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BllGoodVoiceNotePO record);

    int updateByPrimaryKey(BllGoodVoiceNotePO record);

    /**
     * 查询今天一个用户投选手的票数
     * @param userId
     * @return
     */
    List<Integer> selectNumByUserId(@Param("userId") String userId);
}